//最底层div
.underlying {
  overflow: auto;
  min-width: 100%;
  height: 100%;
  padding: 0px 40px 0px 40px;
}

//外层div
.table {
  height: 100%;
  width: 100%;
}

.bbs {
  height: 44px;
}

// 新增信息
.btn_add {
  width: 90px;
  height: 32px;
  border-radius: 4px;
  border: 0;
  outline: none;
  background: url('../../../assets/image/btn_addinfo_normal.svg');
  cursor: pointer;
}

.btn_add:hover {
  background: url('../../../assets/image/btn_addinfo_over.svg');
  cursor: pointer;
}

// 新增
.tr_hover>td {
  white-space: nowrap;
}

.tr_hover:hover>td {
  background: rgb(40, 60, 63, 1) !important;
}

.tr_hover>td>input {
  padding: 0px !important;
}

//表头
.tableHeard {
  background: rgba(48, 73, 77, 1);
  border-radius: 4px 4px 0px 0px;
  height: 50px; //改高度50px  Claire 04/22
  border-bottom: 1px solid rgba(48, 73, 77, 1); ////  05/09
}

:host ::ng-deep .ant-table-header {
  background: rgba(48, 73, 77, 1);
}

:host ::ng-deep .ant-table-fixed-header .ant-table-scroll .ant-table-header {
  margin-bottom: -25px !important;
}

::ng-deep thead {
  text-align: center !important;
}

th {
  background: rgba(48, 73, 77, 1) !important;
  height: 50px;
  padding: 0px;
  color: rgba(255, 255, 255, 1) !important;
  border-bottom: 1px solid rgba(48, 73, 77, 1) !important;
}

::ng-deep .ant-table-thead>tr>th {
  text-align: center;
}

td {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  color: #ffffff;
}

//工联单Table
.designTable {
  margin: 0 auto;
}

//表格内容
.tablecontent {
  background: rgba(32, 48, 51, 1) !important;
  color: #ffffff;
}

// td>input
.input_first>input {
  background-color: #1B1D1F;
  border: 1px solid rgba(133, 141, 143, 1);
  color: #ffffff;
  font-size: 18px;
  height: 32px;
  border-radius: 4px;
  vertical-align: middle;
}

.input_first:hover>input {
  border: 1px solid rgba(72, 156, 156, 1);
}

.input_first:focus>input {
  border: 1px solid rgba(72, 156, 156, 1);
}

::ng-deep .ant-table-tbody>tr>td {
  border-bottom: 1px solid rgba(48, 73, 77, 1) !important;
  background: rgba(32, 48, 51, 1);
}

:host ::ng-deep tr.ant-table-expanded-row td>.ant-table-wrapper {
  margin-top: -6px;
  margin-left: 0px;
  margin-right: -6px;
  margin-bottom: -7px;
}

#first,
#first>td {
  background-color: #203033;
  height: 45px;
  text-align: center;
}

#first:hover>td {
  background: rgba(48, 73, 77, 0.5) !important; //修改背景色 Claire 04/23
}

:host ::ng-deep .ant-table-thead>tr>th {
  text-align: center;
}

// 滚动条
::ng-deep ::-webkit-scrollbar {
  background: rgba(32, 48, 51, 1);
  width: 6px; //右側滾動條寬度  Claire 04/24
  height: 15px; //下側滾動條高度  Claire 04/24
}

// // 滚动条的条  vertical 竖向
::ng-deep ::-webkit-scrollbar-thumb:vertical {
  background: #489C9C;
  border: 1px solid rgba(32, 48, 51, 1);
  border-radius: 5px;
}

// // horizontal 横向
::ng-deep ::-webkit-scrollbar-thumb:horizontal {
  box-shadow: auto;
  background: #489C9C;
  border: 1px solid rgba(32, 48, 51, 1);
  border-radius: 5px;
}

::ng-deep::-webkit-scrollbar-corner {
  ///去右下滾動條白色  Claire 04/24
  background-color: rgba(32, 48, 51, 1); ///去右下滾動條白色  Claire 04/24
}

:host ::ng-deep .ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body {
  background: rgba(32, 48, 51, 1);
  border-bottom: none; ///   05/09
  margin-top: 10px;
}

// 确认按钮
.confirmAdd {
  width: 27px;
  height: 27px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0);
  border: 0;
  background-image: url('../../../assets/image/icon_ok.svg');
  background-repeat: no-repeat;
  background-position: center;
}

// 取消按钮
.cancelAdd {
  width: 27px;
  height: 27px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0);
  border: 0;
  background-image: url('../../../assets/image/icon_cancel.svg');
  background-repeat: no-repeat;
  background-position: center;
}

:host ::ng-deep .ant-table table {
  text-align: center;
}

// 删除按钮
.del {
  width: 24px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0);
  border: 0;
  background-image: url(../../../assets/image/icon_del.svg);
  background-repeat: no-repeat;
  background-position: center;
}

::ng-deep .ant-modal-content {
  background: rgba(31, 46, 49, 1); //05/14  -----611行
  border-radius: 8px; ///  05/14
}

::ng-deep .ant-modal-footer {
  //border-top: 0px;
  border-radius: 0px 0px 8px 8px;
  height: 60px; /// 定義高度05/08
  padding: 14px 16px; //修改05/08
  background: rgba(48, 73, 77, 1); /// 定義背景色05/08
  border-top: none; /// 去掉topline05/08
}

::ng-deep .ant-table-tbody>tr>td {
  border-bottom: 1px solid rgba(48, 73, 77, 1);
}

::ng-deep .ant-modal-header {
  background: rgba(48, 73, 77, 1);
  border-bottom: 0px;
  border-radius: 8px 8px 0px 0px;
}

::ng-deep .ant-modal-content {
  .ant-btn {
    border: 1px solid rgba(72, 156, 156, 1);
    background: rgba(48, 73, 77, 1);
    font-size: 16px;
    color: rgba(72, 156, 156, 1);
  }

  .ant-modal-close {
    color: #ffffff !important;
  }

  .ant-btn:hover {
    //增加按钮hover效果 Claire
    border: 1px solid rgba(72, 156, 156, 1);
    background: rgba(72, 156, 156, 1);
    font-size: 16px;
    color: rgb(255, 255, 255);
  }

  .ant-btn:focus {
    //增加按钮focus效果  Claire
    border: 1px solid rgba(55, 122, 122, 1);
    background: rgba(55, 122, 122, 1);
    font-size: 16px;
    color: rgb(255, 255, 255);
  }
}

::ng-deep .ant-modal-title {
  font-size: 20px;
  font-family: Noto Sans;
  font-weight: 400;
  line-height: 27px;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 5px;
  opacity: 1;
  text-align: center;
}

::ng-deep .anticon {
  color: #ffffff;
}

:host ::ng-deep .ant-modal-body {
  padding: 0px !important;
}
